﻿namespace IBTrader.Modules.Configuration
{
    using System.Configuration;

    public class ObjectElement : ConfigurationElement
    {
        [ConfigurationProperty("Name")]
        public string Name
        {
            get
            {
                return this["Name"] as string;
            }
        }
        [ConfigurationProperty("Type")]
        public string Type
        {
            get
            {
                return this["Type"] as string;
            }
        }
        [ConfigurationProperty("Params")]
        public string Params
        {
            get
            {
                return this["Params"] as string;
            }
        }
        public override string ToString()
        {
            return Name;
        }
    }
}
